package com.ddwl.schema.bo.shop;

import com.ddwl.schema.bo.base.BaseBo;
import com.ddwl.schema.vo.shop.ShopCategoryVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.util.List;

/**
 * 店铺审批
 *
 * @author wenbin
 * @version 1.0.0
 */
@ApiModel(description = "店铺审批")
@Setter
@Getter
public class ShopApproveBo extends BaseBo {

    @NotNull(message = "ID为空", groups = Update.class)
    @ApiModelProperty("ID")
    private String id;

    @ApiModelProperty("申请用户姓名")
    private String userName;

    @ApiModelProperty("申请用户id")
    private String userId;

    @ApiModelProperty("申请用户电话")
    @Pattern(regexp = "^(\\s{0})|(1\\d{10})$", message = "手机号码格式错误")
    private String userTel;

    @ApiModelProperty("申请用户idcard号")
    private String userIdCard;

    @ApiModelProperty("申请用户idcard正面")
    private String idCardFront;

    @ApiModelProperty("申请用户idcard背面")
    private String idCardBack;

    @ApiModelProperty("门店类型")
    private Integer type;

    @ApiModelProperty("门店经营分类")
    private String category;

    @NotNull(message = "门店名称为空", groups = Create.class)
    @ApiModelProperty("门店名称")
    private String name;

    @ApiModelProperty("企业证件类型")
    private Integer certificateType;

    @ApiModelProperty("企业证件号")
    private String certificateCode;

    @ApiModelProperty("企业证件照片")
    private String certificateImg;

    @ApiModelProperty("门店编号")
    private String code;

    @ApiModelProperty("所在区域")
    private String regionId;

    @ApiModelProperty("省名称")
    private String provinceName;
    @ApiModelProperty("城市名称")
    private String cityName;
    @ApiModelProperty("区域名称")
    private String districtName;
    @ApiModelProperty("经度")
    private Double lng;
    @ApiModelProperty("纬度")
    private Double lat;

    @ApiModelProperty("详细地址")
    private String address;

    @ApiModelProperty("商户ID")
    private String mchId;

    @ApiModelProperty("邮编")
    private String postcode;

    @ApiModelProperty("开户人姓名")
    private String accountName;

    @ApiModelProperty("银行卡号")
    private String bankCardNumber;

    @ApiModelProperty("银行名字")
    private String bankName;

    @ApiModelProperty("开户行地址")
    private String bankAddress;

    @ApiModelProperty("门店封面")
    private String coverImg;

    @ApiModelProperty("店铺内图片1")
    private List<String> storeImg1;

    @ApiModelProperty("审批状态 0待审批 1审批通过 2已拒绝 3已取消 4.未提交审批状态1 5.未提交审批状态2 6.未提交审批状态3")
    private Integer approveStatus;

    @ApiModelProperty("拒绝原因")
    private String rejectReason;

    @ApiModelProperty("分类列表")
    private List<ShopCategoryVo> shopCategoryVoList;

    @ApiModelProperty("微信号")
    private String wechatNum;

}
